from django.contrib import admin
from .models import Resume


@admin.register(Resume)
class ResumeAdmin(admin.ModelAdmin):
    list_display = (
        'id', 'original_filename', 'file_size', 'status', 'model_name', 'created_at', 'updated_at'
    )
    list_filter = ('status', 'model_name', 'created_at')
    search_fields = ('original_filename',)
